package com.njmaomao.gj.pyot.common.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "前端发起微信支付js调用参数")
public class WechatJsPayResponse extends WechatResponse {

    @ApiModelProperty(notes = "公众号id 必填[是] 商户注册具有支付权限的公众号成功后即可获得")
    private String appId;

    @ApiModelProperty(notes = "时间戳 必填[是] 当前的时间，其他详见时间戳规则")
    private String timeStamp;

    @ApiModelProperty(notes = "随机字符串 必填[是] 随机字符串，不长于32位。推荐随机数生成算法")
    private String nonceStr;

    @ApiModelProperty(notes = "订单详情扩展字符串 必填[是] 统一下单接口返回的prepay_id参数值，提交格式如：prepay_id=***")
    private String packageStr;

    @ApiModelProperty(notes = "签名方式 必填[是] 签名类型，默认为MD5，支持HMAC-SHA256和MD5。注意此处需与统一下单的签名类型一致")
    private String signType;

    @ApiModelProperty(notes = "签名 必填[是] 签名，详见签名生成算法")
    private String paySign;

    public WechatJsPayResponse(String resultCode, String errCode, String errCodeDes) {
        super(resultCode, errCode, errCodeDes);
    }

    public WechatJsPayResponse() {
        super();
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getPackageStr() {
        return packageStr;
    }

    public void setPackageStr(String packageStr) {
        this.packageStr = packageStr;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getPaySign() {
        return paySign;
    }

    public void setPaySign(String paySign) {
        this.paySign = paySign;
    }



}
